<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<title>山西省纪检监察人事综合管理信息系统</title>
		<!-- build:css -->
		<link rel="stylesheet" href="lib/layui/css/layui.css">
		<link rel="stylesheet" href="css/theme/default.css" id="theme">
		<link rel="stylesheet" href="css/nprogress.css">
		<link href="css/bktheme/css/layout.css" rel="stylesheet" type="text/css">
		<link rel="stylesheet" type="text/css" href="css/sxjj_public/public.css" />
		<!-- endbuild -->

	</head>

	<body class="layui-layout-body kit-theme-default">
		<div class="layui-layout layui-layout-admin">
			<!-- header -->
			<div class="layui-header">
				<div class="layui-logo">
					<div class="layui-logo-toggle" kit-toggle="side" data-toggle="on">
						<i class="layui-icon">&#xe65a;</i>
					</div>
					<div class="layui-logo-brand">
						<a href="#/"></a>
					</div>
				</div>
				<div class="layui-layout-left">
				</div>
				<div class="layui-layout-right">
					<ul class="kit-nav" lay-filter="header_right">
						<li class="kit-item" kit-target="help">
							<a href="javascript:;">
								<i class="layui-icon">&#xe607;</i>
								<span>帮助</span>
							</a>
						</li>
						<li class="kit-item" id="ccleft">
							<a href="javascript:;">
								<i class="layui-icon">&#xe60e;</i>
							</a>
						</li>
						<li class="kit-item" id="cc">
							<a href="javascript:;">
								<i class="layui-icon">&#xe64c;</i>
							</a>
						</li>
						<li class="kit-item">
							<a href="javascript:;">
								<span>
									<img src="css/bktheme/images/user.png" class="layui-nav-img">管理员
								</span>
							</a>
							<ul class="kit-nav-child kit-nav-right">
								<li class="kit-item">
									<a href="#/user/my">
										<i class="layui-icon">&#xe612;</i>
										<span>个人中心</span>
									</a>
								</li>
								<li class="kit-item" kit-target="setting">
									<a href="javascript:;">
										<i class="layui-icon">&#xe614;</i>
										<span>设置</span>
									</a>
								</li>
								<li class="kit-nav-line"></li>
								<li class="kit-item">
									<a href="temp/login.html">
										<i class="layui-icon">&#x1006;</i>
										<span>注销</span>
									</a>
								</li>
							</ul>
						</li>
					</ul>
				</div>
			</div>
			<!-- silds -->
			<div class="layui-side" kit-side="true">
				<div class="layui-side-scroll">
					<div id="menu-box">
						<ul id="menuBox" class="kit-menu">
							<!-- layui-show -->

						</ul>
						</li>
						</ul>
					</div>
				</div>
			</div>
			<!-- main -->
			<div class="layui-body" kit-body="true">
				<router-view class="v"></router-view>
			</div>
			<!-- footer -->
			<div class="layui-footer" kit-footer="true">
				2017 © kit.zhengjinfan.cn MIT license
				<div style="width:400px; height:400px;" class="load-container load1">
					<div class="loader">Loading...</div>
				</div>
			</div>
		</div>
		<!-- build:js -->
		<script src="lib/polyfill.min.js"></script>
		<script src="lib/layui/layui.js"></script>
		<script src="mockjs/mockjs-config.js"></script>
		<script src="css/bktheme/js/jquery-1.10.2.min.js"></script>
		<!-- endbuild -->
		<script src="https://cdn.bootcss.com/echarts/4.1.0.rc2/echarts.min.js"></script>
		<!-- build:use -->
		<script>
			var menuData = [{
					name: "首页",
					url: "/index",
					childern: []
				},
				{
					name: "人员标签管理",
					url: "",
					childern: [{
						name: "标签分类管理",
						url: "/personnelTag/type",
						childern: []
					}, {
						name: "人员标签管理",
						url: "/personnelTag/personal",
						childern: []
					}]
				}, {
					name: "人才库管理",
					url: "",
					childern: [{
						name: "人才库管理",
						url: "/personnelBase/baseManage",
						childern: []
					}, {
						name: "推荐申请",
						url: "/personnelBase/apply",
						childern: []
					}, {
						name: "推荐审核",
						url: "/personnelBase/check",
						childern: []
					}]
				}, {
					name: "借调人员管理",
					url: "",
					childern: [{
						name: "借调管理",
						url: "/personnelBase/secondedManage",
						childern: []
					}, {
						name: "借调申请",
						url: "/secondedManage/secondedApply",
						childern: []
					}, {
						name: "借调审核",
						url: "/secondedManage/secondedCheck",
						childern: []
					}]
				}, {
					name: "日常管理",
					url: "",
					childern: [{
						name: "出国境管理",
						url: "/dailyManage/foreignManage",
						childern: []
					}, {
						name: "文件库管理",
						url: "/dailyManage/fileManage",
						childern: []
					}, {
						name: "工资管理",
						url: "",
						childern: [{
							name: "工资台账",
							url: "/dailyManage/salaryList",
							childern: []
						}, {
							name: "社保基数",
							url: "/dailyManage/insuranceList",
							childern: []
						}]
					}, {
						name: "休假管理",
						url: "/dailyManage/xiujiaManage",
						childern: []
					}, {
						name: "通知公告",
						url: "/dailyManage/noticeManage",
						childern: []
					}]
				}, {
					name: "考核管理",
					url: "",
					childern: [{
						name: "考核管理",
						url: "/assessManage/assessManage",
						childern: []
					}]
				}, {
					name: "培训管理",
					url: "",
					childern: [{
						name: "培训班管理",
						url: "/tranningManage/tranningClass",
						childern: []
					}, {
						name: "培训人员",
						url: "/tranningManage/tranningPeople",
						childern: []
					}]
				}, {
					name: "离退休人员管理",
					url: "",
					childern: [{
						name: "离退休人员",
						url: "/retireManage/retirePeople",
						childern: []
					}, {
						name: "慰问记录",
						url: "/retireManage/retireList",
						childern: []
					}]
				}, {
					name: "任免上会管理",
					url: "",
					childern: [{
						name: "预录入人员",
						url: "/meetingManage/inputPeople",
						childern: []
					}, {
						name: "上会任务",
						url: "/meetingManage/meetingTask",
						childern: []
					}, {
						name: "上会人员",
						url: "/meetingManage/meetingPeople",
						childern: []
					}, {
						name: "上会确认",
						url: "/meetingManage/meetingConfirm",
						childern: []
					}, {
						name: "任免批次",
						url: "/meetingManage/meetingBatchList",
						childern: []
					}, {
						name: "任免人员",
						url: "/meetingManage/meetingBatchPeople",
						childern: []
					}, {
						name: "上会列表",
						url: "/meetingManage/meetingList",
						childern: []
					}]
				}, {
					name: "监察证制作",
					url: "",
					childern: [{
						name: "制卡申请",
						url: "/superviseManage/cardApply",
						childern: []
					}, {
						name: "制卡审核",
						url: "/superviseManage/cardChecked",
						childern: []
					}, {
						name: "制卡审批",
						url: "/superviseManage/cardShenpi",
						childern: []
					}]
				}, {
					name: "综合统计查询",
					url: "",
					childern: [{
						name: "全库查询",
						url: "/totalManage/totalQuery",
						childern: []
					}, {
						name: "编制统计",
						url: "/totalManage/compilationList",
						childern: []
					}]
				}
			]
			var liOneHtml = "",
				liTwoHtml = "",
				liThreeHtml = "";
			menuData.forEach(function(oneItem) {
				if (oneItem.childern.length !== 0) {
					liTwoHtml = "";
					liThreeHtml = ""
					oneItem.childern.forEach(function(twoItem) {
						if (twoItem.childern.length !== 0) {
							twoItem.childern.forEach(function(threeItem) {
								liThreeHtml += "<li class='kit-menu-item'>" +
									"<a href='#" + threeItem.url + "'>" +
									"<i class='layui-icon'></i>" +
									"<span>" + threeItem.name + "</span>" +
									"</a> " +
									"</li>";
							})
							liTwoHtml += "<li class='kit-menu-item'>" +
								"<a 　href='javascript:;'" +
								"<i class='layui-icon'></i>" +
								"<span>" + twoItem.name + "</span>" +
								"</a><ul class='kit-menu-child layui-anim layui-anim-upbit'>" + liThreeHtml + "</ul>" +
								"</li>";
						} else {
							liTwoHtml += "<li class='kit-menu-item'>" +
								"<a href='#" + twoItem.url + "'>" +
								"<i class='layui-icon'></i>" +
								"<span>" + twoItem.name + "</span>" +
								"</a>" +
								"</li>";
						}
					})
					liOneHtml += "<li class='kit-menu-item'>" +
						"<a 　href='javascript:;'" +
						"<i class='layui-icon'></i>" +
						"<span>" + oneItem.name + "</span>" +
						"</a><ul class='kit-menu-child layui-anim layui-anim-upbit'>" + liTwoHtml + "</ul>" +
						"</li>";
				} else {
					liOneHtml += "<li class='kit-menu-item'>" +
						"<a href='#" + oneItem.url + "'>" +
						"<span>" + oneItem.name + "</span>" +
						"</a>" +
						"</li>";
				}
			})
			console.log($('#menuBox').html(liOneHtml))
			layui.config({
				base: 'js/'
			}).use('admin');
		</script>
		<!-- endbuild -->
	</body>

</html>
